package com.fbs.wowo.chat.entity;

import javax.validation.constraints.NotBlank;

public class Friend {
    @NotBlank(message = "我的id不能为空")
    private String mid;
    @NotBlank(message = "好友id不能为空")
    private String fid;

    private String myGroup;

    private String fGroup;

    private String myNickname;

    private String fNickname;

    private Byte valid;

    /************************************
     *
     * 临时存储的数据
     *
     ************************************/
    private String name;    // 好友的用户名

    private String photo;   // 好友的头像

    private String brief;   // 好友的签名

    private String sex;     // 好友的性别

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid == null ? null : mid.trim();
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid == null ? null : fid.trim();
    }

    public String getMyGroup() {
        return myGroup;
    }

    public void setMyGroup(String myGroup) {
        this.myGroup = myGroup == null ? null : myGroup.trim();
    }

    public String getfGroup() {
        return fGroup;
    }

    public void setfGroup(String fGroup) {
        this.fGroup = fGroup == null ? null : fGroup.trim();
    }

    public String getMyNickname() {
        return myNickname;
    }

    public void setMyNickname(String myNickname) {
        this.myNickname = myNickname == null ? null : myNickname.trim();
    }

    public String getfNickname() {
        return fNickname;
    }

    public void setfNickname(String fNickname) {
        this.fNickname = fNickname == null ? null : fNickname.trim();
    }

    public Byte getValid() {
        return valid;
    }

    public void setValid(Byte valid) {
        this.valid = valid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}